import axios from '@/lib/script/http'

const getBaseUrl = () => {
  return ''
}

// 查询日志
export const searchLog = (args: any) => {

  return new Promise((resolve, reject) => {
    axios({
      url: getBaseUrl() + `/logs/query`,
      method: 'POST',
      data: args,
    }).then((resp: any) => {
      resolve(resp)
    }, reject)
  })
}